from rest_framework import serializers
from .models import Car
from users.models import UserCart


class CarModelSerializer(serializers.ModelSerializer):
    """豪车名称"""

    class Meta:
        model = Car
        fields = ["car_name", "car_image", "introduce", "car_price", "id"]


